import { View } from '@tarojs/components';
import CardItem from '../component/CardItem';
import './index.scss';

/**
 * 老年卡列表
 */
const OldCard = () => {
  const list = [
    {
      imgurl: '',
      name: '老年E卡',
      userName: '张国荣',
      accountNumbner: '2365 2562 5263 2365',
      cardytpeStr: '证件',
    }
  ];
  return (
    <View className="card-wrap">
      {list.map((item, index) => (
        <CardItem key={index} data={item} />
      ))}
    </View>
  );
};
export default OldCard;
